/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package fr.miage.shopping.metier.impl;

import fr.miage.shopping.dao.traitements.AdminDao;
import fr.miage.shopping.dao.traitements.ClientDao;
import fr.miage.shopping.metier.AuthentificationBusinessService;
import fr.miage.shopping.metier.entite.Admin;
import fr.miage.shopping.metier.entite.Client;

/**
 *
 * @author romain
 */
public class AuthentificationBusinessServiceImpl implements AuthentificationBusinessService  {
    
    public Admin authentifierAdmin(String mail, String password) {
        return AdminDao.authentifierAdmin(mail, password);
    }

    public Client authentifierClient(String mail, String password) {
       return ClientDao.authentifierClient(mail, password);
    }


}
